package com.menggudf.entity;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="dictionarydata")
public class DictionaryData
  implements Serializable
{
  private static final long serialVersionUID = 246063680277139624L;
  private int id;
  private String typeName;
  private String dataName;
  
  @Id
  @Column(name="id", unique=true, nullable=false)
  @GeneratedValue(strategy=GenerationType.IDENTITY)
  public int getId()
  {
    return this.id;
  }
  
  public void setId(int id)
  {
    this.id = id;
  }
  
  @Column(name="typeName")
  public String getTypeName()
  {
    return this.typeName;
  }
  
  public void setTypeName(String typeName)
  {
    this.typeName = typeName;
  }
  
  @Column(name="dataName")
  public String getDataName()
  {
    return this.dataName;
  }
  
  public void setDataName(String dataName)
  {
    this.dataName = dataName;
  }
}
